#pragma once

#include "EventWaitHandle.h"

namespace xgu{ namespace Threading{

class ManualResetEvent: public EventWaitHandle
{
public:
	ManualResetEvent(void);
	virtual ~ManualResetEvent(void);

protected:
	virtual HANDLE CreateEvent(bool initial_state)
	{
		return ::CreateEvent(NULL, TRUE, initial_state, NULL);
	}
};

}}
